package Command;
/**
 * EngineBackward
 * @author Danny
 *
 */
public class EngineBackward extends Command {

	/**
	 * Constructor
	 */
	public EngineBackward()
	{}
	
	@Override
	public void execute() {
		// Check if connection is ok, return if it isnt
		if(!checkConnection())
		{
			return;
		}
		// Engine, Backward, Checksum
		bt.sendLine("1,0,1");
	}
	/**
	 * getCommandString
	 * @return String - Command
	 */
	public String getCommandString()
	{
		return "1,0,1";
	}

	@Override
	public void redo() {
		execute();

	}

	@Override
	public void undo() {	
	}

}
